package org.springblade.modules.restaurant.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author harry
 * @公众号 Harry技术
 */
@Data
public class RestaurantUserVO {

    /**
     * 主键ID
     */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;

	/**
	 * 账号
	 */
	private String account;

	/**
	 * 昵称
	 */
	private String name;
	/**
	 * 真名
	 */
	private String realName;
	/**
	 * 头像
	 */
	private String avatar;
	/**
	 * 邮箱
	 */
	private String email;
	/**
	 * 手机
	 */
	private String phone;

	private String label;

	@JsonSerialize(using = ToStringSerializer.class)
	private Long value;

	/**
	 * 是否禁用
	 */
	private Boolean disabled;

	/**
	 * 月薪
	 */
	@Schema(description = "月薪")
	private BigDecimal monthlySalary;
	/**
	 * 日薪
	 */
	@Schema(description = "日薪")
	private BigDecimal dailySalary;
}
